package com.qf.smsplatform.mapper;
/*2021/10/30*/

import com.qf.smsplatform.pojo.TAcountRecord;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @YuTao
 */
public interface TAcountRecordMapper {

    @Select("select * from t_acount_record")
    List<TAcountRecord> selectAll();
    @Insert("insert into t_acount_record(orderid,clientId,paidValue,createTime,payTime,paymentId,paymentOrder,paymentInfo) values (#{orderid},#{clientId},#{paidValue},#{createTime},#{payTime},#{paymentId},#{paymentOrder},#{paymentInfo})")
    void insertTAcount(TAcountRecord tAcountRecord);

    void updateTAcount(TAcountRecord tAcountRecord);

    @Delete("delete from t_acount_record where id = #{id}")
    void deleteTAcount(int id);
}
